package top.jiangqiang.qianyi.common.crypto;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EncryptAutoConfiguration {

    @Bean
    EncryptService encryptService(CryptoService cryptoService) {
        return new DefaultEncryptService(cryptoService);
    }
}
